﻿<Window x:Class="KinectCamRecorder.KinectCamRecorderUI"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="794" MinWidth="800" MinHeight="400" SizeToContent="WidthAndHeight" Background="AliceBlue"
            Icon="Kinect.ico" Title="Kinect Camera Recorder">
    <Grid >
        <Image Height="240" HorizontalAlignment="Left" Margin="50,87,0,0" Name="_webCamImage" Stretch="Fill" VerticalAlignment="Top" Width="320" />
        <Image Height="240" HorizontalAlignment="Left" Margin="395,87,0,0" Name="_depthCamImage" Stretch="Fill" VerticalAlignment="Top" Width="320" />

        <ToggleButton  Content="Record" Height="23" HorizontalAlignment="Left" Margin="54,15,0,0" Name="_recordButton" VerticalAlignment="Top" Width="75" Checked="_recordButton_Checked" Unchecked="_recordButton_Unchecked" />
        <Button  Content="Clear" Height="23" HorizontalAlignment="Left" Margin="148,15,0,0" Name="_clearButton" VerticalAlignment="Top" Width="75" Click="_clearButton_Click" />
        <Button  Content="Save" Height="23" HorizontalAlignment="Left" Margin="242,15,0,0" Name="_saveButton" VerticalAlignment="Top" Width="75" Click="_saveButton_Click" />
        <Label Content="Recorded Frames" Height="28" HorizontalAlignment="Left" Margin="396,10,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="0" Height="28" HorizontalAlignment="Left" Margin="452,43,0,0" Name="_recordedRGBFrames" VerticalAlignment="Top" />
        <Label Content="RGB:" Height="28" HorizontalAlignment="Left" Margin="396,43,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Depth:" Height="28" HorizontalAlignment="Left" Margin="492,43,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="0" Height="28" HorizontalAlignment="Left" Margin="558,43,0,0" Name="_recordedDepthFrames" VerticalAlignment="Top" />
    </Grid>
</Window>
